﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="email.aspx.cs" Inherits="FutureMeWeb.FutureMe_Admin.email"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/admin.css" type="text/css" rel="stylesheet">
<title>邮件管理</title>
</head>

<body>
    <form id="form1" runat="server">
<div align="center">
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
  <tr height=28>
    <td style="background-image:url(images/title_bg1.jpg)" align="left">当前位置:&gt;&gt;邮件管理</td>
  </tr>
  <tr>
    <td bgcolor="#B1CEEF" height="1"></td></tr>
  <tr height="20">
    <td style="background-image:url(images/shadow_bg.jpg)"></td></tr></table>
<table cellspacing="0" cellpadding="0" width="90%" align="center" border="0">
  <tr  style="height:100">
    <td align="center" width="100"><img height="100" src="images/admin_p.gif" 
      width="90"></td>
    <td width="60">&nbsp;</td>
    <td>
      <table  style="height:99px" cellspacing="0" cellpadding="0" width="100%" 
            border="0">
        
        <tr>
          <td></td>
        </tr>
        <tr>
          <td style=" font-weight: bold; font-size: 16px" align="left">admin</td></tr>
        <tr>
          <td align="left">欢迎进入网站管理中心！</td></tr></table></td></tr>
  <tr>
    <td colspan="3" style="height:10"></td></tr></table>

    <asp:GridView ID="GridView2" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" 
        GridLines="None"  
        OnRowCancelingEdit="GridView2_RowCancelingEdit" 
        OnRowDataBound="GridView2_RowDataBound" OnRowDeleting="GridView2_RowDeleting" 
        OnRowEditing="GridView2_RowEditing" OnRowUpdating="GridView2_RowUpdating" 
        PageSize="10" Width="94%"  OnPageIndexChanging="GridView2_PageIndexChanging"
        >
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="mailId" HeaderText="EmailID" ReadOnly="True" />
            <asp:BoundField DataField="mailTitle" HeaderText="主题" ReadOnly="True" />
            <asp:BoundField DataField="mailContent" HeaderText="内容" ReadOnly="True" />
            <asp:BoundField DataField="mailState" HeaderText="邮件状态" ReadOnly="True"/>
            <asp:BoundField DataField="mailIsPublic" HeaderText="公开状态" ReadOnly="True" />
            <asp:BoundField DataField="mailSendDate" HeaderText="发送时间" ReadOnly="True" />
            <asp:BoundField DataField="mailCreateDate" HeaderText="写信时间" ReadOnly="True" />
            <asp:CommandField ButtonType="Image" ControlStyle-Height="20px" ControlStyle-Width="20px"  
                CancelImageUrl="~/images/cross_circle.png"
                EditImageUrl="~/images/pencil.png" HeaderText="隐藏" 
                ShowEditButton="True" UpdateImageUrl="~/images/tick_circle.png" />
            <asp:CommandField ButtonType="Image" 
                DeleteImageUrl="~/images/cross.png" ControlStyle-Height="20px" ControlStyle-Width="20px"  HeaderText="删除" 
                ShowDeleteButton="True" />
        </Columns>
        <EditRowStyle BackColor="#7C6F57"/>
        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#E3EAEB"  Height="20px"/>
        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F8FAFA" />
        <SortedAscendingHeaderStyle BackColor="#246B61" />
        <SortedDescendingCellStyle BackColor="#D4DFE1" />
        <SortedDescendingHeaderStyle BackColor="#15524A" />
    </asp:GridView>
</div>
    </form>
</body>
</html>
